package net.zhnb.service;

import net.zhnb.bean.Ad;
import net.zhnb.bean.AdKey;
import finaler.util.Page;
import finaler.util.PageList;

public interface AdService {
	
    public boolean insert(Ad ad) throws Exception ;

    public boolean deleteByKey(AdKey key) throws Exception ;
    
    public boolean update(Ad ad) throws Exception ;
    
    public Ad findByKey(AdKey key) throws Exception ;
    
	public PageList getPageList(Page page) throws Exception;
}
